<template>
  <div class="app">
    <Category title="美食">
      <p>游戏</p>
    </Category>
    <Category title="游戏">
      <ul>
        <li v-for="(item,index) in games">{{ item }}</li>
      </ul>
    </Category>
    <Category title="电影">
      <p>电影</p>
    </Category>
  </div>
</template>
<script>

import Category from "@/components/Category.vue";

export default {
  name: "App",
  components: {Category},
  data() {
    return {
      foods: ['火锅', '烧烤', '小龙虾', '牛排'],
      games: ['红色警戒', '穿越火线', '劲舞团', '超级玛丽'],
      films: ["教父", "一家老小", "劳模吃鱼", "尚硅谷"]
    }
  },

};
</script>
<style lang="less">
.app {
  display: flex;
  justify-content: space-around;
}
</style>
